/**
 * @file
 * @auth jinguangguo
 * @date 2016/10/17
 */

@mixin link {
    color: $color-link;
    text-decoration: none;
    transition: color 0.4s;
    &:link,
    &:visited,
    &:hover,
    &:active {
        text-decoration: none;
    }
    &:hover {
        color: $color-link-hover;
        text-decoration: none;
    }
    &:active {
        color: $color-link-dark;
    }
}

@mixin shadow {
    box-shadow: 1px 1px 5px rgba(125, 125, 125, 0.04);
}

@mixin placehold-color($color) {
    &::-webkit-input-placeholder { /* WebKit browsers */
        color: $color;
    }
    &:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
        color: $color;
    }
    &::-moz-placeholder { /* Mozilla Firefox 19+ */
        color: $color;
    }
    &:-ms-input-placeholder { /* Internet Explorer 10+ */
        color: $color;
    }
}